﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PriceListBG.aspx.cs" MasterPageFile="~/MasterPages/MasterPage.master"
	Inherits="PriceListBG" %>

<asp:Content ID="MainContent" runat="server" ContentPlaceHolderID="ContentPlaceHolder">

	<script language="javascript" type="text/javascript">
		<!--
		function ShowPrinterFriendlyPage() 
		{
		    window.open('/PrintPages/PrintPriceListBG.aspx', 'PrinterFriendlyBG');
		    return false
		}
 	 -->
	</script>

	<div>
		ЦЕНОВА ЛИСТА&nbsp;<br />
		<br />
		<asp:GridView ID="gvPriceListBG" runat="server" AutoGenerateColumns="False" DataSourceID="sdsPricesBg" AllowPaging="true">
			<Columns>
				<asp:BoundField DataField="NameBG" HeaderText="Вид Услуга" SortExpression="NameBG" />
				<asp:BoundField DataField="PriceBGN" HeaderText="Цена в ЛВ." SortExpression="PriceBGN" />
			</Columns>
		</asp:GridView>
		<br />
		<asp:SqlDataSource ID="sdsPricesBg" runat="server" ConnectionString="<%$ ConnectionStrings:ClinicConnectionString %>"
			SelectCommand="up_PriceListSelectBG" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
	</div>
	<input id="btnPrinterFriendly" type="button" value="Версия за печат" onclick="return ShowPrinterFriendlyPage()" /><br />
</asp:Content>
